let menu = {
  ADMIN: [
    {
      id: 1,
      label: '首页',
      href: '/home',
      path: '/home',
      icons: 'fa fa-home',
      permission: ['view', 'add', 'delete', 'edit'],
      show: true,
      children: [
        {
          id: 21,
          label: '首页',
          href: '/home/index',
          path: '/home/index',
          icons: 'fa fa-home',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword', 'history'],
          show: true,
          children: []
        },
        {
          id: 21,
          label: '预约历史',
          href: '/home/prebook-history',
          path: '/home/prebook-history',
          icons: 'fa fa-book',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: false,
          children: []
        },
        {
          id: 21,
          label: '用户管理',
          href: '/home/user',
          path: '/home/course',
          icons: 'fa fa-user',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '教练管理',
              href: '/home/coach',
              path: '/home/coach',
              icons: 'fa fa-users',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '教练管理操作',
              href: '/home/coach-edit',
              path: '/home/coach-edit',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            },
            {
              id: 21,
              label: '会员管理',
              href: '/home/member',
              path: '/home/member',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '会员管理操作',
              href: '/home/member-edit',
              path: '/home/member-edit',
              icons: 'fa fa-address-card-o',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            },
            {
              id: 21,
              label: '门禁记录',
              href: '/home/ac-records',
              path: '/home/ac-records',
              icons: 'fa fa-address-card-o',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            }
          ]
        },
        {
          id: 21,
          label: '店铺管理',
          href: '/home/shop',
          path: '/home/shop',
          icons: 'fa fa-shopping-bag',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '店铺管理',
              href: '/home/shop-manage',
              path: '/home/shop-manage',
              icons: 'fa fa-shopping-bag',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '店铺操作',
              href: '/home/shop-edit',
              path: '/home/shop-edit',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            }
          ]
        },
        {
          id: 21,
          label: '课程管理',
          href: '/home/course',
          path: '/home/course',
          icons: 'fa fa-archive',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '课程设置',
              href: '/home/course-setting',
              path: '/home/course-setting',
              icons: 'fa fa-cube',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '课程设置操作',
              href: '/home/course-setting-edit',
              path: '/home/course-setting-edit',
              icons: 'fa fa-cube',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            },
            {
              id: 21,
              label: '课程签约',
              href: '/home/course-data',
              path: '/home/course-data',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '课程签约操作',
              href: '/home/course-data-edit',
              path: '/home/course-data-edit',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            }
          ]
        },
        {
          id: 21,
          label: '订单管理',
          href: '/home/order',
          path: '/home/order',
          icons: 'fa fa-shopping-cart',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '订单管理',
              href: '/home/order-manage',
              path: '/home/order-manage',
              icons: 'fa fa-shopping-cart',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            }
          ]
        },
        {
          id: 21,
          label: '数据统计',
          href: '/home/count',
          path: '/home/count',
          icons: 'fa fa-bar-chart',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '数据统计',
              href: '/home/data-count',
              path: '/home/data-count',
              icons: 'fa fa-bar-chart',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '教练耗课明细',
              href: '/home/data-count-detail',
              path: '/home/data-count-detail',
              icons: 'fa fa-bar-chart',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            },
            {
              id: 21,
              label: '包时课程扣费明细',
              href: '/home/data-count-cost-detail',
              path: '/home/data-count-cost-detail',
              icons: 'fa fa-bar-chart',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            }
          ]
        },
        {
          id: 21,
          label: '系统设置',
          href: '/home/system',
          path: '/home/system',
          icons: 'fa fa-cog',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '协议管理',
              href: '/home/agreement',
              path: '/home/agreement',
              icons: 'fa fa-file-word-o',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '协议管理操作',
              href: '/home/agreement-edit',
              path: '/home/agreement-edit',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            },
            {
              id: 22,
              label: '设备管理',
              href: '/home/device',
              path: '/home/device',
              icons: 'fa fa-file-word-o',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 23,
              label: '设备管理操作',
              href: '/home/device-edit',
              path: '/home/device-edit',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            }
          ]
        }
      ]
    }
  ],
  STORE_LEADER: [
    {
      id: 1,
      label: '首页',
      href: '/home',
      path: '/home',
      icons: 'fa fa-home',
      permission: ['view', 'add', 'delete', 'edit'],
      show: true,
      children: [
        {
          id: 21,
          label: '首页',
          href: '/home/index',
          path: '/home/index',
          icons: 'fa fa-home',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: []
        },
        {
          id: 21,
          label: '预约历史',
          href: '/home/prebook-history',
          path: '/home/prebook-history',
          icons: 'fa fa-book',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: false,
          children: []
        },
        {
          id: 21,
          label: '课程管理',
          href: '/home/course',
          path: '/home/course',
          icons: 'fa fa-archive',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '课程签约',
              href: '/home/course-data',
              path: '/home/course-data',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '课程签约操作',
              href: '/home/course-data-edit',
              path: '/home/course-data-edit',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            }
          ]
        },
        {
          id: 21,
          label: '数据统计',
          href: '/home/count',
          path: '/home/count',
          icons: 'fa fa-bar-chart',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '数据统计',
              href: '/home/data-count',
              path: '/home/data-count',
              icons: 'fa fa-bar-chart',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '教练耗课明细',
              href: '/home/data-count-detail',
              path: '/home/data-count-detail',
              icons: 'fa fa-bar-chart',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            },
            {
              id: 21,
              label: '包时课程扣费明细',
              href: '/home/data-count-cost-detail',
              path: '/home/data-count-cost-detail',
              icons: 'fa fa-bar-chart',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            }
          ]
        }
      ]
    }
  ],
  COACH: [
    {
      id: 1,
      label: '首页',
      path: '/home',
      href: '/home/index',
      icons: 'fa fa-home',
      permission: ['view', 'add', 'delete', 'edit'],
      show: true,
      children: [
        {
          id: 21,
          label: '首页',
          href: '/home/index',
          path: '/home/index',
          icons: 'fa fa-home',
          permission: ['view', 'add', 'delete', 'edit'],
          show: true,
          children: []
        },
        {
          id: 21,
          label: '课程管理',
          href: '/home/course',
          path: '/home/course',
          icons: 'fa fa-archive',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '课程签约',
              href: '/home/course-data',
              path: '/home/course-data',
              icons: 'fa fa-file-text',
              permission: ['view'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '课程签约操作',
              href: '/home/course-data-edit',
              path: '/home/course-data-edit',
              icons: 'fa fa-file-text',
              permission: ['view'],
              show: false,
              children: []
            }
          ]
        }
      ]
    }
  ],
  FLAGSHIP_STORE_LEADER: [
    {
      id: 1,
      label: '首页',
      href: '/home',
      path: '/home',
      icons: 'fa fa-home',
      permission: ['view', 'add', 'delete', 'edit'],
      show: true,
      children: [
        {
          id: 21,
          label: '课程管理',
          href: '/home/course',
          path: '/home/course',
          icons: 'fa fa-archive',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '课程签约',
              href: '/home/course-data',
              path: '/home/course-data',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '课程签约操作',
              href: '/home/course-data-edit',
              path: '/home/course-data-edit',
              icons: 'fa fa-file-text',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            }
          ]
        },
        {
          id: 21,
          label: '数据统计',
          href: '/home/count',
          path: '/home/count',
          icons: 'fa fa-bar-chart',
          permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
          show: true,
          children: [
            {
              id: 21,
              label: '数据统计',
              href: '/home/data-count',
              path: '/home/data-count',
              icons: 'fa fa-bar-chart',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: true,
              children: []
            },
            {
              id: 21,
              label: '教练耗课明细',
              href: '/home/data-count-detail',
              path: '/home/data-count-detail',
              icons: 'fa fa-bar-chart',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            },
            {
              id: 21,
              label: '包时课程扣费明细',
              href: '/home/data-count-cost-detail',
              path: '/home/data-count-cost-detail',
              icons: 'fa fa-bar-chart',
              permission: ['view', 'add', 'delete', 'edit', 'resetPassword'],
              show: false,
              children: []
            }
          ]
        }
      ]
    }
  ]
}
export default menu
